MaxRequestLength
Bytes
30000000
Purpose
The MaxRequestLength parameter specifies the maximum length (in bytes) of HTTP requests for Direct REST or Direct SOAP applications.
Although there is no minimum value, setting it to zero (0) is not useful, as all requests would be rejected. The maximum value of 2,147,483,647 is not recommended, because malicious requests could consume large amounts of system resources.
Most production systems should be able to operate easily within the default value. Systems that are resource‑constrained may want to lower the default value to control memory usage. Most well‑designed systems would expect message sizes of both request and response messages to be less than 10K bytes. If your system has requirements for very large messages, you should set the value of the MaxRequestLength parameter with the values specified for the ObjectCacheSizeLimit and TransientCacheSizeLimit parameters in mind.
2022.0.05 and higher